import Home from "@/views/08_views_basic_store_modules/Home.vue";
import About from "@/views/08_views_basic_store_modules/About.vue";

import {createRouter , createWebHistory} from 'vue-router'

//1：定义路由
const routes = [
    {
        path: '/',
        component: Home
    },
    {
        path: '/about',
        component: About,

    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

//2：导出
export default router;
